
package com.huaweicloud.haydn.delivercore.agent.dto.haydn;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class TableDto {

    @JsonProperty("datalink_name")
    private String datalinkName;

    @JsonProperty("database_name")
    private String databaseName;

    @JsonProperty("datalink_type_code")
    private String datalinkTypeCode;

    @JsonProperty("deliver_reqmt_db_uuid")
    @ApiModelProperty(value = "数据库uuid")
    private String deliverReqmtDbUuid;

    @JsonProperty("table_name")
    @ApiModelProperty(value = "表名")
    private String tableName;

    @JsonProperty("table_description")
    @ApiModelProperty(value = "表描述")
    private String tableDescription;

    @JsonProperty("table_rows")
    @ApiModelProperty(value = "表行数")
    private String tableRows;

    @JsonProperty("table_avg_length")
    @ApiModelProperty(value = "表平均长度")
    private String tableAvgLength;

    @JsonProperty("table_capacity")
    @ApiModelProperty(value = "表容量")
    private String tableCapacity;

    @JsonProperty("schema_name")
    @ApiModelProperty(value = "schema名称")
    private String schemaName;

    @JsonProperty("table_physics_capacity")
    private String tablePhysicsCapacity;

    @JsonProperty("is_data_alive")
    private String isDataLive = "0";

    private String uuid;

    @JsonProperty("created_time")
    private Date createdTime;

    @JsonProperty("last_update_time")
    private Date lastUpdateTime;

    @JsonProperty("data_gen_time")
    private Date dataGenTime;
}
